package pack0621;

public class DemoE {
    public static void main(String[] args) {
        for (int i = 2; i <= 100; i++) {
            int a = 0;
            for (a = 2; a <= i - 1; a++){
                if (i % a == 0)
                    break;

        }
        if (i == a)
            System.out.print(i+" ");
        }
    }
}
